
public class imp {
	public static class ext implements Runnable {

		public void run(){
			this.happy();
		}
		
		public void happy(){
			System.out.println("v r happy @ felight");
		}


	public static void main(String[] args){
		
		System.out.println("before thread creation");
		Thread e1=new Thread(new ext());
		e1.start();
		
		System.out.println("after thread creation");
		
		
	}
	}

}
